<template>
  <view>
    <view class="top">
      <image
          class="imageKnow_img"
          src="/static/images/logo/order.png"
          mode="widthFix"
      >
      </image>
    </view>
    <uni-segmented-control
        class="control"
        style="color: black"
        :current="current"
        :values="items"
        :style-type="styleType"
        :active-color="activeColor"
        @clickItem="onClickItem"
    />
  </view>
</template>
<script>
export default {
    data(){
      return{
        items: ['未付款', '已付款','查询订单'],
        current: 0,
        activeColor: '#da1932',
        styleType: 'text',
        isShowXieyi:false,
      }
    },
  methods:{
    onClickItem(e) {
      this.isShowXieyi = !this.isShowXieyi
    },
  }
  }
</script>
<style lang="scss" scoped>
.imageKnow_img {
  width: 100%;
  display: block;
}
/deep/ .segmented-control__text{
  font-size: 4.3vw!important;
  color: #da1932;
  width: 100%!important;
}
.control{
background-color: #FFFFFF;
}
</style>
